/*
 * =====================================================================================
 *
 *       Filename:  test.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  08/01/2012 03:12:22 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *        Company:  
 *
 * =====================================================================================
 */

#include "util.h"
#include <string>
using namespace std;
int main(int argc,char *argv[])
{
    Request request;
    Request::strFileName="/home/xiamc/prophet-offer-disk.txt";
    Request::openFile();
    char *str="HTTP/1.1 200 OK";
    cout<<"getSatus\t"<<request.getStatus(str)<<endl;  
    return request.getStatus(str);
}
